﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace House_Control
{
    //This class will deal with everything regarding the pet station in the House.
    class Pool
    {
        double currentTemp;
        double targetTemp;
        String lightColor = "Yellow";
        bool isLightOn;


         public Pool()
        {
            currentTemp = 75.6;
            targetTemp = 100;
            isLightOn = false;
        }


        //Temperture
        public void setTargetTemp(double temp)
        {
            targetTemp = temp;
        }

        public double getCurrentTemp()
        {
            return currentTemp;
        }

        public double getTargetTemp()
        {
            return targetTemp;
        }
        //Lights on

        public void changeLightState()
        {
            if (isLightOn) isLightOn = false;
            else isLightOn = true;
        }

        public string getLightStateString()
        {
            if (isLightOn) return "On";
            else return "Off";
        }
        //Light Color

        public void setLightColor(string newColor)
        {
            lightColor = newColor;
        }
        public string getLightColor()
        {
            return lightColor;
        }
    }
}


